package cn.stylefeng.guns.modular.business.frequency.ordersub.model.param;

import cn.stylefeng.guns.core.pojo.page.OrderItem;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Description:
 * @Author jzy
 * @Date 2020/9/22 0022
 **/
@Data
public class OrderDTO {

    /** 手机端搜索 订单号 和 车架号 模糊搜索*/
    private String key;

    //app用户手机号
    private String consigneePhone;

    // 前端订单状态帅选
    private List<Integer> status;
    private Integer statusOnly;

    private String orderNo;

    private String orderSubNo;

    private String oldPassWord;

    private String password;

    private String createUserName;
    private String orderCreateUserName;
    private String companyName;

    private List<Long> dataList;

    private String linkmanName;

    private String linkmanPhone;

    private String consigneeName;


    private String carName;
    private String vin;

    private String userId;
    private List<Long> userIdList;

    private String dispatcherId;

    private List<String> deptIds = new ArrayList<>();

    private Long beginSearchTime;

    private Long endSearchTime;

    private Long siteId;

    private List<String> startCodeList;

    private List<String> excludeOrderIds;

    private String transportId;

    private String pickSiteId;

    private String verifySiteId;

    private String transportSiteId;

    private Long tenantId;

    private String takeSiteId;

    private String finishSiteId;

    private String startCode;
    private List<String> startCodes;
    private String startName;

    private String destinationCode;
    private List<String> destinationCodes;
    private String destinationName;

    /**
     * 订单类型 1.到我这的 2.我发出的 3.全部
     */
    private Integer orderType;

    private String settlementId;
    private String driverId;
    private List<Integer> orderStatusList;

    private String yearMonth;

    /** 是否是中转代签收 1 - 中转待签    2 - 代签收 */
    private String signType;

    /**
     * 提车联系人
     */
    private String pickLinkmanName;
    private String pickLinkmanPhone;

    private String transportDriverName;

    // 提车方式
    private List<Integer> pickType;
    // 送车方式
    private List<Integer> takeType;
    // 付款方式
    private List<Integer> paymentType;
    // 运输方式
    private List<Integer> transportType;

    //排序字段
    private String column;//如果使用 tt.signTime,则签收时间倒序
    //排序方法
    private Boolean asc = false;

    private List<OrderItem> orders=new ArrayList<>();

    /**
     * 1-在途 2-已签收
     */
    private Integer orderStatus;
}
